﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DreamIn.Structures
{
    public class Album
    {
        //// Exemple
        //// real path that contains pictures c:\documents\pictures\summer2010
        //// => albumFolderName="summer2010"
        //// => albumPath="c:\documents\pictures\"
        //// => pictures= lsit of pictures in the folder

        /// <summary>
        /// Folder name of the album.
        /// </summary>
        private String albumFolderName;

        /// <summary>
        /// Get AlbumFoldeName.
        /// </summary>
        public String AlbumFolderName
        {
            get { return albumFolderName; }
        }

        /// <summary>
        /// Path till the folder of the album.
        /// </summary>
        private String albumPath;

        /// <summary>
        /// Get AlbumPath.
        /// </summary>
        public String AlbumPath
        {
            get { return albumPath; }
        }

        /// <summary>
        /// List of picture contained in the folder of the album.
        /// </summary>
        private List<Picture> pictures;

        /// <summary>
        /// Get pictures list.
        /// </summary>
        public List<Picture> Pictures
        {
            get { return pictures; }
        }

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="albumFolderName"></param>
        /// <param name="albumPath"></param>
        /// <param name="pictures"></param>
        public Album(String albumFolderName, String albumPath, List<Picture> pictures)
        {
            this.albumFolderName = albumFolderName;
            this.albumPath = albumPath;
            this.pictures = pictures;
        }

    }
}
